knitr::opts_chunk$set(echo = TRUE)

references:

example: https://cran.r-project.org/web/packages/golem/vignettes/a_start.html

example applied: https://towardsdatascience.com/production-grade-r-shiny-with-golem-prototyping-51b03f37c2a9

communication between modules: https://shiny.rstudio.com/articles/communicate-bet-modules.html

testing: https://shiny.rstudio.com/articles/integration-testing.html

objective:

define a path as links, like graph nodego links. ex: from: step_a ; to: step_b

define events that happen in each node. remember an event is a label that happens at a time and might have a value. ex: event: step_a date|datetime: 2021-01-01 value: 10

visualize path of nodes, how they are connected and some statistic on each node, ex: event: step_a|n:22; event:step_b; n:20

define ui:

data load: a place where you can load the data. excel for now as its how data is arriving :/ - links data: an excel with specific sheet name to load. with format from|to - event data: an excel with specific sheet name to load. with format event|datetime|value

data explore: a place where you can see what data has been loaded - data preview: -- data table with loaded links data -- data table with loaded event data

visualization: - network visualization with specific filters

process of this app creation

generic:

custom:

validate it works.

devtools::install() pathEventDataExplorer::run_app()

continue development

issues:

mod upload problem

cannot make that other module reads data read in module upload as it was holding everything, i moved the uploads from the module to the main component

for magritrr intertragion:

usethis::use_pipe() # for adding the stuff devtools::document() # for refreshing desc::desc_get_deps("DESCRIPTION") # to see if apears

visnetwork inside a module

FIXME: may be because of namespaces and custom JS , the names or ids are not ok. input_network_click_node look at this on mod_data_viz

restarting interrupted promise evaluation

somewhere when loading data

filtering dates have issues too.

changed when using complete sample file

got to review when events sheet is not completed.

validate external data is created

sample_data_links_events_path <- system.file("extdata", "sample_data_links_events.xlsx", package = "pathEventDataExplorer")
sample_data_links <- readxl::read_xlsx(sample_data_links_events_path,sheet = "links")
sample_data_links <- readxl::read_xlsx(sample_data_links_events_path,sheet = "events")


jas1/pathEventDataExplorer documentation built on Jan. 23, 2021, 12:47 a.m.